package com.ruixi.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Created by lrzg
 * @Date 2022/8/10 13:40
 * @Description TODO
 */
@TableName("user")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {

    @TableId
    private Integer id;
    @TableField("username")
    private String userName;
    @TableField("birthday")
    private Date birthDay;
    private String sex;
    private String address;

}
